/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.eighteen12.web.controller;

import com.eighteen12.web.Controller;
import com.eighteen12.web.controller.vo.CurrencyVo;
import com.eighteen12.web.controller.vo.Utilities;
import javax.servlet.http.HttpServletRequest;

/**
 *
 * @author Arif
 */
public class CurrenciesAll implements Controller<CurrencyVo[]>{

    public CurrencyVo[] execute(HttpServletRequest request) {
        return new Utilities().loadAll("dollarBeli", Boolean.FALSE).toArray(new CurrencyVo[]{});
    }
    
}
